﻿using Pay.TO;
using System;
using System.IO;

namespace Pay.DTO {
	/// <summary>
	/// 物流表：mc_Logistics
	/// </summary>
	[Serializable]
	public class logistics_dto {
		public logistics_dto() {

		}
		/// <summary>
		/// id
		/// </summary>
		public long id { get; set; }
		/// <summary>
		/// 支付id
		/// </summary>
		public long payid { get; set; }
		/// <summary>
		/// 物流号
		/// </summary>
		public string logisticsno { get; set; }
		/// <summary>
		/// 航班号
		/// </summary>
		public string flightno { get; set; }
		/// <summary>
		/// 物流状态
		/// </summary>
		public LogisticsStatus logisticsstatus { get; set; }
		/// <summary>
		/// 物流最近更新时间
		/// </summary>
		public DateTime logisticstime { get; set; }
		/// <summary>
		/// 提单号
		/// </summary>
		public string postalno { get; set; }

		public pay_info_dto pay_info { get; set; }
	}

	public class LogisticsExcel {
		public LogisticsExcel() {
			ContentType = "application/ms-excel";
		}
		/// <summary>
		/// Excel流对象
		/// </summary>
		/// <value>The ms.</value>
		public MemoryStream ms { get; set; }
		/// <summary>
		/// Excel名称
		/// </summary>
		/// <value>The name of the excel.</value>
		public string ExcelName { get; set; }
		/// <summary>
		/// Excel内容格式
		/// </summary>
		/// <value>The type of the content.</value>
		public string ContentType { get; set; }
	}
}